package com.binest.investorInclusion.service;




import com.binest.common.core.page.TableDataInfo;
import com.binest.investorInclusion.domain.InvestmentSurvey;
import com.binest.investorInclusion.domain.InvestorInclusion;
import com.binest.investorInclusion.domain.JointInvestment;

import java.util.List;

/**
 * 投资机构收录Service接口
 * 
 * @author wwd
 * @date 2024-01-23
 */
public interface IInvestorInclusionService 
{
    /**
     * 查询投资机构收录
     * 
     * @param id 投资机构收录主键
     * @return 投资机构收录
     */
    public InvestorInclusion selectInvestorInclusionById(String id);

    public InvestorInclusion selectEsInvestorInclusionById(String id) throws Exception;

    public List<JointInvestment> selectJointInvestmentList(String id , String lang) throws Exception;
    /**
     * 查询投资机构收录列表
     * 
     * @param investorInclusion 投资机构收录
     * @return 投资机构收录集合
     */
    public List<InvestorInclusion> selectInvestorInclusionList(InvestorInclusion investorInclusion);



    public TableDataInfo selectInvestorInclusionEsList(InvestorInclusion investorInclusion) throws Exception;

    /**
     * 获取投资概览
     * @param id
     * @param lang
     * @return
     * @throws Exception
     */
    public InvestmentSurvey getInvestmentSurvey(String id, String lang) throws Exception;
    public InvestorInclusion selectInvestorInclusionByMainId(String mainId, String lang);
    /**
     * 新增投资机构收录
     * 
     * @param investorInclusion 投资机构收录
     * @return 结果
     */
    public String insertInvestorInclusion(InvestorInclusion investorInclusion);
    public String insertNewInvestorInclusion(InvestorInclusion investorInclusion);
    /**
     * 修改投资机构收录
     * 
     * @param investorInclusion 投资机构收录
     * @return 结果
     */
    public int updateInvestorInclusion(InvestorInclusion investorInclusion);

    /**
     * 批量删除投资机构收录
     * 
     * @param ids 需要删除的投资机构收录主键集合
     * @return 结果
     */
    public int deleteInvestorInclusionByIds(String[] ids);

    /**
     * 删除投资机构收录信息
     * 
     * @param id 投资机构收录主键
     * @return 结果
     */
    public int deleteInvestorInclusionById(String id);
}
